package com.css.fxfzcpxx.modules.earthquakeDisaster.repository;

import com.css.fxfzcpxx.modules.categoryView.param.QueParam;
import com.css.fxfzcpxx.modules.categoryView.vo.CategoryViewVo;
import com.css.fxfzcpxx.modules.earthquakeDisaster.entity.EarthquakeDisaster;
import com.css.fxfzcpxx.modules.earthquakeDisaster.param.EarthquakeDisasterParam;
import com.css.fxfzcpxx.modules.infoRetrieval.historicalSeismicInfo.param.FindByParam;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface EarthquakeDisasterRepository {
    Map<String, Object> getPage(int curPage, int pageSize, EarthquakeDisasterParam param);

    void updateReleaseStatusById(List<String> id, String toString, Date date);

    void deleteById(String id);

    EarthquakeDisaster findById(String id);

    void updateById(EarthquakeDisaster param);

    List<EarthquakeDisaster> queryByParam(List<String> id);

    void batchSave(List<EarthquakeDisaster> list);

    void save(EarthquakeDisaster earthquakeDisaster);

    EarthquakeDisaster findByParam(FindByParam param);

    List<CategoryViewVo> getData(QueParam queParam);

    void updateAttachId(String toString, String column, String jedsId);
}
